/*
 *    Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package com.prdownloader;

/**
 * 常量
 *
 * @author amitshekhar
 * @since 2017-11-13
 */

public final class Constants {
    /**
     * 常量 RANGE
     */
    public static final String RANGE = "Range";
    /**
     * 常量 ETAG
     */
    public static final String ETAG = "ETag";
    /**
     * 常量 USER_AGENT
     */
    public static final String USER_AGENT = "User-Agent";
    /**
     * 常量 DEFAULT_USER_AGENT
     */
    public static final String DEFAULT_USER_AGENT = "PRDownloader";

    /**
     * 常量 UPDATE
     */
    public static final int UPDATE = 0x01;
    /**
     * 常量 DEFAULT_READ_TIMEOUT_IN_MILLS
     */
    public static final int DEFAULT_READ_TIMEOUT_IN_MILLS = 20_000;
    /**
     * 常量 DEFAULT_CONNECT_TIMEOUT_IN_MILLS
     */
    public static final int DEFAULT_CONNECT_TIMEOUT_IN_MILLS = 20_000;

    /**
     * 常量 HTTP_RANGE_NOT_SATISFIABLE
     */
    public static final int HTTP_RANGE_NOT_SATISFIABLE = 416;
    /**
     * 常量 HTTP_TEMPORARY_REDIRECT
     */
    public static final int HTTP_TEMPORARY_REDIRECT = 307;
    /**
     * 常量 HTTP_PERMANENT_REDIRECT
     */
    public static final int HTTP_PERMANENT_REDIRECT = 308;

    private Constants() {
        // no instance
    }



}
